package graphics;

import java.util.Vector;
import util.Point;

public class DropDownMenu {
	private Vector<String> items = new Vector<String>();
	private Point cords;
	private boolean expanded = false;
	private int currentIndex = 0;
	
	public DropDownMenu(Point cords, String s) {
		this.cords = cords;
		items.add(s);
	}
	
	public void add(String s) {
		items.add(s);
	}
	
	public void draw(MaxGraphics g) {
		g.translate(cords.getX(), cords.getY());
		g.drawRectUL(cords.getX(), cords.getY(), 10, 200);
		g.drawText(cords.getX(), cords.getY(), items.get(currentIndex));
	}
}
